package com.gupaoedu.vip.pattern.factory.func;

import com.gupaoedu.vip.pattern.factory.Car;

/**
 * Created by Administrator on 2018/3/18.
 */
public class CarFactoryTest {

    public static void main(String[] args) {
        CarFactory factory = new AudiCarFactory();
        System.out.println(factory.getCar().getName());
    }
}
